package day007.api_date;

import java.lang.reflect.Array;
import java.util.Arrays;

public class Test001 {
    public static void main(String[] args) {
        String str1 = "你TMD真是个人才！";
        System.out.println(str1.replace("TMD", "***"));

        String str2 = "  aaa   ";
        System.out.println(str2.trim());

        String str3 = "abc";
        char[] chars = str3.toCharArray();
        int[] ints = {1, 2, 3};
        System.out.println(Arrays.toString(chars));
        System.out.println(Arrays.toString(ints));

        Integer ii = Integer.valueOf(100);
        int i = ii.intValue();
        int aa = Integer.parseInt("100");
        System.out.println(i);
        System.out.println(aa);
    }
}
